package com.ray.monitor.service;

import java.util.Map;
import java.util.Set;

import com.ray.monitor.table.vo.MethodRankBO;
import com.ray.monitor.table.vo.ServiceBO;

/**
 * Created by zxg on 15/11/11.
 * 11:15
 */
public interface ServicesService {

    // 所有service
    Set<String> getAllServicesString();

    // service对应的所有provider--app
    Map<String, Set<String>> getServiceProviders();

    //service对应的所有消费者 --app
    Map<String, Set<String>> getServiceConsumers();


    // service名称，service对象
    Map<String,ServiceBO> getServiceBOMap();
    /**
     * 获取一天的调用数量
     * @param serviceName
     * @param name
     * @return
     */
    MethodRankBO getOneDay(String serviceName, String name);
}
